package com.situ.mall.service;

import com.situ.mall.pojo.Order;
import com.situ.mall.pojo.OrderItem;
import com.situ.mall.pojo.query.OrderQuery;
import com.situ.mall.util.PageResult;

import java.util.List;

public interface IOrderService {

    PageResult<Order> list(OrderQuery orderQuery);

    void deleteById(Long orderNo);

    void deleteAll(Long[] ids);

    void add(Order order);

    List<OrderItem> selectByOrderNo(Long orderNo);

    void changeStatus(Long orderNo,Integer status);
}
